package cn.zymall.merchant.service;

import cn.zymall.common.model.Coupon;
import cn.zymall.common.model.UserCoupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserCouponService extends IService<UserCoupon> {
	 List<UserCoupon> getUserCouponByCouponId(Integer couponId);

	  Integer addUserCoupon(UserCoupon userCoupon);

	  Integer getUserCouponCount(Integer couponId,Integer userId);

	  List<Coupon> getUserCouponByUserId(Integer userId);
}
